export default {
  setGlobalState(state, data) {
    Object.assign(state.globalState, { ...data })
  },

  addTabs(state, data) {
    state.tabsMenuList.push({ ...data})
  },
  setTabsMenuList(state, data) {
    state.tabsMenuList = data
  },
  setAuthMenuList(state, data) {
    state.authMenuList = data
  },
  setRouteName(state, data) {
    state.routeName = data
  }
}
